Port pin register
PORT0 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT1 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT2 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT3 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT4 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT5 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT6 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT7 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT8 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT9 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT10 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT11 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT12 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT13 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT14 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT15 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT16 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT17 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT18 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT19 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT20 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT21 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT22 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT23 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT24 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT25 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT26 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT27 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT28 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT29 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT30 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |
PORT31 | Reads pin states or loads output bits (bit 0 = PIOm_0, bit 1 = PIOm_1, …, bit 31 = PIOm_31). m = port 0 to 2; n = pin 0 to 31 for port 0 and 1 and pin 0 to 11 for port2. 0 = Read: pin is low; write: clear output bit. 1 = Read: pin is high; write: set output bit. |